from rest_framework import serializers
from goods.models import Brand

# 1.brand序列化器
class BrandViewSetSerializer(serializers.ModelSerializer):
    class Meta:
        model = Brand
        fields = "__all__"